//
//  UIView+CYGEx.m
//  CYGHuntForCity
//
//  Created by cygarm on 16/3/24.
//  Copyright © 2016年 cygarm. All rights reserved.
//

#import "UIView+CYGEx.h"

@implementation UIView (CYGEx)

- (CGRect)cyg_viewScale:(CGFloat)scale {
	CGAffineTransform trans = CGAffineTransformMakeScale(scale, scale);
	self.transform = CGAffineTransformTranslate(trans, 0, 0);
	return CGRectApplyAffineTransform(self.bounds, self.transform);
}

@end
